//
//  SiterRoomNetManager.h
//  Pods
//
//  Created by Henry on 2023/3/13.
//

#ifndef SiterRoomNetManager_h
#define SiterRoomNetManager_h

#import "SiterBaseNetManager.h"

@interface SiterRoomNetManager : SiterBaseNetManager

//获取房间列表
+ (void) getRoomList:(void(^)(id,NSError *,NSError *)) handler;

//增加默认房间
+ (void) addDefaultRoom:(void(^)(id,NSError *,NSError *)) handler;

//增加房间
+ (void) addRoom:(NSString *)roomName withhandler:(void(^)(id,NSError *,NSError *)) handler;

//删除房间
+ (void) deleteRoom:(NSNumber *)roomId withhandler:(void(^)(id,NSError *,NSError *)) handler;

//修改房间名称
+ (void) modifyRoomName:(NSString *)roomName withRoomId:(NSNumber *)roomId withhandler:(void(^)(id,NSError *,NSError *)) handler;

//修改设备房间
+ (void) modifyRoomWithThing:(NSString *)thingName withRoomId:(NSNumber *)roomId withhandler:(void(^)(id,NSError *,NSError *)) handler;

//修改子设备房间
+ (void) modifyRoomWithSubDev:(NSString *)thingName withDeviceCode:(NSString *)deviceCode withDeviceCode:(NSNumber *)roomId handle:(void(^)(id,NSError *,NSError *)) handler;
@end

#endif /* SiterRoomNetManager_h */
